package com.laolei.zuul.config;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;

import com.netflix.zuul.ZuulFilter;

@EnableZuulProxy
@SpringCloudApplication
public class SpringZuulConfigApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringZuulConfigApplication.class, args);
	}

	@Bean ZuulFilter aa() { return new PreFilter(); }
}
